package cn.hg.jboot.commons.mail;

import java.io.Serializable;

/**
 * @author 胡高
 * @date 2021/10/19
 */
public class EmailConfig implements Serializable {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -8241958146893222516L;

    private String host;

    private String name;

    private String password;

    private boolean useSSL = true;

    private boolean enable = false;

    private String port;

    private String account;

    public String getAccount() {
        return this.account;
    }

    public String getHost() {
        return this.host;
    }

    public String getName() {
        return this.name;
    }

    public String getPassword() {
        return this.password;
    }

    public String getPort() {
        return this.port;
    }

    public boolean isEnable() {
        return this.enable;
    }

    public boolean isUseSSL() {
        return this.useSSL;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public void setUseSSL(boolean useSSL) {
        this.useSSL = useSSL;
    }

}
